import request from '@/utils/request'

// 查询轮播图设置列表
export function listRotationchartControlle(query) {
  return request({
    url: '/system/RotationchartControlle/list',
    method: 'get',
    params: query
  })
}

// 查询轮播图设置详细
export function getRotationchartControlle(id) {
  return request({
    url: '/system/RotationchartControlle/' + id,
    method: 'get'
  })
}

// 新增轮播图设置
export function addRotationchartControlle(data) {
  return request({
    url: '/system/RotationchartControlle',
    method: 'post',
    data: data
  })
}

// 修改轮播图设置
export function updateRotationchartControlle(data) {
  return request({
    url: '/system/RotationchartControlle',
    method: 'put',
    data: data
  })
}

// 删除轮播图设置
export function delRotationchartControlle(id) {
  return request({
    url: '/system/RotationchartControlle/' + id,
    method: 'delete'
  })
}

// 导出轮播图设置
export function exportRotationchartControlle(query) {
  return request({
    url: '/system/RotationchartControlle/export',
    method: 'get',
    params: query
  })
}